# -*- coding: utf-8 -*-

"""
Module implementing HandleFile.
"""

import os

def getFileName(file_dir):
    L = []
    for root, dirs, files in os.walk(file_dir):
        for file in files:
            if os.path.splitext(file)[1] == '.xml':
                L.append(os.path.splitext(file)[0])
    return L

if __name__ == "__main__":
    print(getFileName(".\\cfg\\"))

